package com.oa.admin.entity;


import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;


import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 入住物品清单表
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@EqualsAndHashCode(callSuper = true)
@Data
@TableName("admin_check_in_list")
@ApiModel(value = "入住物品清单表")
public class CheckInList extends Model<CheckInList> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "宿舍申请id")
    private String dormId;

    @ApiModelProperty(value = "入住物品")
    private String checkItems;

    @ApiModelProperty(value = "物品描述")
    private String itemDescription;

    @ApiModelProperty(value = "是否删除（1-已删除 2-未删除）")
    private Integer isDeleted;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}